package com.lwj.liwanjia.adapter.fabu;

import android.content.Context;

import com.lwj.liwanjia.R;
import com.superrecycleview.superlibrary.adapter.BaseViewHolder;
import com.superrecycleview.superlibrary.adapter.SuperBaseAdapter;

import java.util.List;

/**
 * Created by Administrator on 2018/1/13.
 */

public class FabuPsAdapter extends SuperBaseAdapter<String> {

    public FabuPsAdapter(Context context, List<String> data) {
        super(context, data);
    }

    @Override
    protected void convert(BaseViewHolder holder, String item, int position) {
        holder.setText(R.id.tv_fangshi, item);
    }

    @Override
    protected int getItemViewLayoutId(int position, String item) {
        return R.layout.peisong_item;
    }
}
